@import '@/assets/styles/index.scss';
.header-bar {
  position: fixed;
  top: 0;
  width: 100vw;
  background-color: white;
  z-index: 999;
}
video {
  width: 80vw !important;
  min-height: 180px !important;
  padding-left: 10vw;
}
.xpage-detail{
    background: #f9f9f9;
    min-height: 100vh;
}
.xblock-list {
    margin: 10px 16px;
    padding: 0 8px;
    background: white;
    $card-left-border-radius: 6px;
    // border: 1px solid $border-color;
    border-radius: $border-radius;
    .xblock-cell {
      position: relative;
      padding: 5px 0;
      display: flex;
      box-sizing: border-box;
      font-size: 13px;
      line-height: 22px;
      align-items: center;
      &__title {
        line-height: 28px;
        flex: 1;
        display: flex;
        justify-content: space-between;
        div {
          padding-left: 5px;
          max-width: 100px;
          height: 30px;
          overflow: hidden;
        }
      }
      &__left{
        justify-content:left;
        div {
            max-width: none;
        }
      }
      &__time {
        font-size: $font-size-0;
        color: #666;
      }
      .xblock-right {
        position: relative;
        font-size: $font-size-1;
        line-height: 28px;
        color: #999;
        &__link {
          color: #666;
        }
        &__online {
          color: #59ba7a;
        }
      }
      .nut-cell__link {
        font-size: $font-size-0;
      }
    }
    .xblock-content {
      padding: 10px 0;
      overflow: hidden;
      video{
        min-height: 200px;
      }
      &__img {
        width: 100%;
        height: 200px;
      }
      &__cell {
        p {
         display: flex;
          width: 50%;
          float: left;
          height: 22px;
          overflow: hidden;
        }
        span{
          width: 50%;
        }
      }
      p {
        font-size: $font-size-1;
        line-height: 22px;
        color: #666;
        &.text-underline {
          text-decoration: underline;
        }
        span {
          &:first-child {
            text-align: right;
          }
        }
        .yellow {
          color: #f59a23;
        }
        .green {
          color: #59ba7a;
        }
      }
      &__bottom{
        padding: 10px 0 20px 0;

      }
      &__name {
        line-height: 22px;
        font-size: $font-size-1;
      }
    }
  }

